#  docker push registry.cn-hangzhou.aliyuncs.com/adgw/adgw-system-mysql:0.2.0
FROM mariadb:10.7.1

MAINTAINER jinhuaquan(1044038055@qq.com)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /docker-entrypoint-initdb.d
ENV LANG=C.UTF-8

ADD api_seed.sql .
RUN chmod 777 api_seed.sql

COPY docker-healthcheck /usr/local/bin/

HEALTHCHECK CMD ["docker-healthcheck"]
